<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

        <title>会员列表</title>

        <link href="<?php echo ADMIN_CSS_URL ?>mine.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
        <style>
            .tr_color{background-color: #9F88FF}
        </style>
        <div class="div_head">
            <span>
                <span style="float: left;">当前位置是：文章管理-》文章列表</span>
                <span style="float: right; margin-right: 8px; font-weight: bold;">
                    <a style="text-decoration: none;" href="__CONTROLLER__/addArticle">【添加文章】</a>
                </span>
            </span>
        </div>
        <div></div>
        <div style="font-size: 13px; margin: 10px 5px;">
            <table class="table_a" border="1" width="100%">
                <tbody><tr style="font-weight: bold;">
                        <td>序号</td>
                        <td>文章标题</td>
						<td>缩略图</td>
                        <td>所属分类</td>
                        <td>作者</td>
                        <td style='text-align:center' colspan='2' >操作</td>
                    </tr>
					<foreach name='articleRes' item='vo'>
                    <tr id="product1">
                        <td>1</td>
                        <td><a href="#">{$vo['title']}</a></td>
						<td>
						<eq name="vo['pic']" value="">
						暂无缩略图
						<else/>
						<img src="__ROOT__/{$vo['pic']}" height="60" width="60">
						</eq>
						</td>
                        <td>{$vo['typename']}</td>
                        <td>{$vo['author']}</td>
                        <td><a href="__CONTROLLER__/updateArticle/aid/{$vo['aid']}">修改</a></td>
                        <td><a href="__CONTROLLER__/deleteArticle/aid/{$vo['aid']}" onclick="return confirm('确定删除该文章？')">删除</a></td>
                    </tr>
					</foreach>
                    <tr>
                        <td colspan="20" style="text-align: center;">
                            {$page}
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </body>
</html>